<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>refrence打包合并</title>
</head>
<body>
    <script src="https://cdn.bootcdn.net/ajax/libs/require.js/2.3.6/require.min.js"></script>
    <!-- 将配置文件的module改成amd,再 tsc --outFile ./dist/app.js-->
    <script src="./disc/app.js"></script>
    <script>
        require(["App"])
        require(["hd"],User => {
            console.log(User.title);
            console.log(User.User.hdms);
        })
    </script>
</body>
</html>